#!/usr/bin/python3
#encoding:utf-8
import os,sqlite3,time
conn=sqlite3.connect("user.db")
cursor=conn.cursor()
sql1="Select *  from  user"
users=cursor.execute(sql1)
result=cursor.fetchall()
if result==None:
    print("没有用户信息")
else:
    for i in  result:
         print("用户"+i[0]+"的密码是"+i[1])
cursor.close()
conn.close()
time.sleep(2000)